package com.ruicar.afs.cloud.softphone.softphoneport;


import com.ruicar.afs.cloud.common.core.feign.AfsFeignFormSupport;
import com.ruicar.afs.cloud.common.core.feign.annotations.AfsFeignClear;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @description: 获取电话录音接口
 * @author jiaqi.guo
 * @created 2020/8/20 15:42
 * @version 1.0
 */
@FeignClient(name = "recording", url = "${com.greatwall.systems.recording-system.url}", configuration = AfsFeignFormSupport.class)
public interface TheRecordingApiFeign {
    /**
     *获取电话录音接口
     * @param
     * @return
     */
    @GetMapping(value = "/agent")
    @AfsFeignClear(true)
    String getRecordingData(@RequestParam("cti_call_uuid") String cti_call_uuid,
                            @RequestParam("org_admin") String Org_admin,
                            @RequestParam("org_ip") String org_ip,
                            @RequestParam("org_password") String org_password);
}
